<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fn.tld" prefix="fn" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt"%>
<div title="违法记录详细信息" id="illegalRecordSelectDialog" class="dialogtitle">
	<form id="frmIllegalRecord" onSubmit="return false" style="width: 1067px; ">
		<input type="hidden" name="id" value="<c:out value='${illegalRecord.id }'/>">
		<table  cellspacing="0" cellpadding="0">
			<tr>
				<td style="width: 650px; ">
					<table>
						<tr>
							<td colspan="4">
								<img src="http://t2.gstatic.com/images?q=tbn:ANd9GcQPVzYsWtUoKnZ4Gg9jFHticUh-YAPqN2KNprlXL0jsItLlZqvY" id="imageURL"style="height: 350px; width: 600px; "/>
							</td>
						</tr>
						<tr>
							<td></td>
							<td></td>
							<td></td>
							<td align="center"><button onclick="">删除</button></td>
						</tr>
						<tr>
							<td align="center"><img src="http://t2.gstatic.com/images?q=tbn:ANd9GcQPVzYsWtUoKnZ4Gg9jFHticUh-YAPqN2KNprlXL0jsItLlZqvY" id="image1" style="height: 100px; width: 100px; "/></td>
							<td align="center"><img src="http://t2.gstatic.com/images?q=tbn:ANd9GcQPVzYsWtUoKnZ4Gg9jFHticUh-YAPqN2KNprlXL0jsItLlZqvY" id="image2" style="height: 100px; width: 100px; "/></td>
							<td align="center"><img src="http://t2.gstatic.com/images?q=tbn:ANd9GcQPVzYsWtUoKnZ4Gg9jFHticUh-YAPqN2KNprlXL0jsItLlZqvY" id="image3" style="height: 100px; width: 100px; "/></td>
							<td align="center"><img src="http://t2.gstatic.com/images?q=tbn:ANd9GcQPVzYsWtUoKnZ4Gg9jFHticUh-YAPqN2KNprlXL0jsItLlZqvY" id="image4" style="height: 100px; width: 100px; "/></td>
						</tr>
					</table>
				</td>
				<td>
					<div class="searchbox" >
						<table id="illegalRecordTable" cellspacing="0" cellpadding="0">
							<tr>
								<td align="right" style="width: 100px;">号牌号码：<span class="fontRed">*</span></td>
								<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
							</tr>
							<tr>
								<td align="right" style="width: 100px;">号牌种类：<span class="fontRed">*</span></td>
								<td style="width: 230px; ">
									<select id="editPlateType" name="plateTypeId">
										<option value="">---请选择---</option>
										<c:forEach items="${lstLicencePlateKind}" var="plateType">
											<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
										</c:forEach>
									</select> 
								</td>
							</tr>
							<tr>
								<td></td>
								<td align="center"><button onclick="ajaxFindVehicleCommon()">获取机动车信息</button></td>
							</tr>
						</table>
					</div>
					<table cellspacing="0" cellpadding="0">		   
					    <tr>
					    	<td align="right" style="width: 112px;">违法编码：&nbsp;&nbsp;</td>
					    	<td><div class="rvimsbiglabel"><c:out value=""></c:out></div></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">违法代码：&nbsp;&nbsp;</td>
					    	<td><div class="rvimsbiglabel"><c:out value=""></c:out></div></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">违法行为种类：&nbsp;&nbsp;</td>
					    	<td style="width: 230px; ">
								<select id="" name="">
									<option value="">---请选择---</option>
									<c:forEach items="${lstLicencePlateKind}" var="plateType">
										<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
									</c:forEach>
								</select> 
							</td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">违法行为：&nbsp;&nbsp;</td>
					    	<td style="width: 230px; ">
								<select id="editPlateType" name="plateTypeId">
									<option value="">---请选择---</option>
									<c:forEach items="${lstLicencePlateKind}" var="plateType">
										<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
									</c:forEach>
								</select> 
							</td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">车辆行驶速度：&nbsp;&nbsp;</td>
					    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">信号灯状态：&nbsp;&nbsp;</td>
					    	<td style="width: 230px; ">
								<select id="editPlateType" name="plateTypeId">
									<option value="">---请选择---</option>
									<c:forEach items="${lstLicencePlateKind}" var="plateType">
										<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
									</c:forEach>
								</select> 
							</td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">道路类型：&nbsp;&nbsp;</td>
					    	<td style="width: 230px; ">
								<select id="editPlateType" name="plateTypeId">
									<option value="">---请选择---</option>
									<c:forEach items="${lstLicencePlateKind}" var="plateType">
										<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
									</c:forEach>
								</select> 
							</td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">道路代码：&nbsp;&nbsp;</td>
					    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">路段：&nbsp;&nbsp;</td>
					    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">车道：&nbsp;&nbsp;</td>
					    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">里程（千米）：&nbsp;&nbsp;</td>
					    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">具体米数：&nbsp;&nbsp;</td>
					    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">行驶方向：&nbsp;&nbsp;</td>
					    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
						</tr>
					    <tr>
					    	<td align="right" style="width: 112px;">违法时间：&nbsp;&nbsp;</td>
					    	<td>
					    		<input type="text" id="startTime"  class="date" readonly="readonly" value="<c:out value='${importantVehicle.effectiveStartTime}'/>"/>
							</td>
						</tr>
				    </table>
				</td>
			</tr>
		</table>
		<div>
			<table>
				<tr>
			    	<td align="right" style="width: 100px;">道路类型：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
			    	<td align="right" style="width: 100px;">使用性质：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
			    	<td align="right" style="width: 100px;">车辆分类：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
				</tr>
				<tr>
			    	<td align="right" style="width: 100px;">车身颜色：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
			    	<td align="right" style="width: 100px;">机动车状态：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
			    	<td align="right" style="width: 100px;">处理对象标记：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
				</tr>
			    <tr>
			    	<td align="right" style="width: 100px;">车主名称：</td>
			    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
			    	<td align="right" style="width: 100px;">身份证号码：</td>
			    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
			    	<td align="right" style="width: 100px;">当事人名称：</td>
			    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
				</tr>
			    <tr>
			    	<td align="right" style="width: 100px;">联系电话1：</td>
			    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
			    	<td align="right" style="width: 100px;">联系电话2：</td>
			    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
			    	<td align="right" style="width: 100px;">联系地址：</td>
			    	<td><input type="text" id="editPlateNum" name="plateNum" value="<c:out value='${importantVehicle.plateNum}'/>"/></td>
				</tr>
			</table>
			<table>
				<tr>
			    	<td align="right" style="width: 100px;">采集机关：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
			    	<td align="right" style="width: 100px;">信息来源：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
			    	<td align="right" style="width: 100px;">采集方式：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
				</tr>
				<tr>
			    	<td align="right" style="width: 100px;">检定信息：</td>
			    	<td style="width: 230px; ">
						<select id="editPlateType" name="plateTypeId">
							<option value="">---请选择---</option>
							<c:forEach items="${lstLicencePlateKind}" var="plateType">
								<option value="${plateType.id}" ${plateType.id == importantVehicle.plateTypeId ? "selected" : ""}><c:out value="${plateType.name}"/></option>
							</c:forEach>
						</select> 
					</td>
			    	<td align="right" style="width: 100px;">录入人员：</td>
					<td><div class="rvimsbiglabel"><c:out value=""></c:out></div></td>
			    	<td align="right" style="width: 100px;">录入时间：</td>
			    	<td><div class="rvimsbiglabel">
							<fmt:formatDate value='${vehicle.checkupdate}' pattern='yyyy-mm-dd' />
						</div>
					</td>
				</tr>
			</table>
		</div>
		<div>关联违法记录列表</div>
		<div>
			<table id="reIllegalRecordList" style="min-width:800px;"cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						<td>序号</td>
						<td>号牌种类</td>
						<td>号牌号码</td>
						<td>违法时间</td>
						<td>违法地点</td>
						<td>违法行为代码</td>
						<td>违法行为</td>
						<td>审核状态</td>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${listLaneConfig}" var="laneConfig">
						<tr id="objId_${laneConfig.id}" onclick="clickSelect(this)">
							<td><input type="hidden" value="${laneConfig.id }"><c:out value="${laneConfig.configname}"></c:out></td>
							<td><c:out value="${laneConfig.canvia==1? '是' : '否'}"></c:out></td>
							<td><c:out value="${laneConfig.upperviaspeedlimit}"></c:out></td>
							<td><c:out value="${laneConfig.lowerviaspeedlimit}"></c:out></td>
							<td><c:out value="${laneConfig.uppercapturespeedlimit}"></c:out></td>
							<td><c:out value="${laneConfig.lowercapturespeedlimit}"></c:out></td>
							<td><c:out value="${laneConfig.vehiclegroupname}"></c:out></td>
							<td><c:out value="${laneConfig.vehiclegroupname}"></c:out></td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</form>
	<div id="infoIllegalRecord" class="fontRed"></div>
</div>			
<script>
	$("button").button();
	$(".date").datepicker({regional:"zh-CN"});
</script>
